package com.mzz.structure.proxy.proxyaop;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * 后置
 * @author xushijian
 * @date 18/6/5
  上午10:09
 */
public abstract class AfterHandler extends AbstractHandler {

    public abstract void handleAfter(Object proxy, Method method, Object[] args);

    public Object invoke(Object proxy, Method method, Object[] args) throws InvocationTargetException, IllegalAccessException {

        handleAfter(proxy, method, args);

        return null;
    }
}
